package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.MarketMerchantProduct;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * Created by DK on 16/9/20.
 * 分销市产品
 */
@Repository
public interface MarketMerchantProductRepository extends JpaRepository<MarketMerchantProduct, Long>, JpaSpecificationExecutor{
    MarketMerchantProduct findByProductId(Long productId);
}
